using System;
using System.Collections.Generic;
using System.Text;
using Curchy.PERTToolbox.Interface;
using System.ComponentModel;

namespace Curchy.PERTToolbox.Entity
{
    public class Assumption : IDescriptive
    {
        private string _name;
        private string _detail;

        public string Detail
        {
            get { return _detail; }
            set { _detail = value; }
        }

        #region IDescriptive Members

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        [Browsable(false)]
        public string Description
        {
            get { return _name; }
        }

        #endregion

        public override string ToString()
        {
            return _name;
        }
    }
}
